package com.example.demo.model.mapper;

import com.example.demo.model.valueObject.Notice;
import org.springframework.stereotype.Repository;

/**
 * @Description:公告
 * @Author: STY
 * @Date: 2021/3/8
 *
 */
@Repository
public interface NoticeMapper {
    //获取公告
    Notice getNotice();
    //发布公告
    void insertNotice(Notice notice);
    //删除公告
    void deleteNotice();
}
